setShowAsAction

open fun setShowAsAction(item: MenuItem, actionEnum: Int)(source)

Deprecated

Use setShowAsAction directly.

Sets how this item should display in the presence of a compatible Action Bar. If the given item is compatible, this will call the item's supported implementation of setShowAsAction.

Parameters

item

- the item to change

actionEnum

- How the item should display.